import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({  
    state: {  
        token: '',
		toolParams: {}
    },  
    mutations: {  
        setToken(state, token) {  
            state.token = token
        },
		setToolParams(state, params) {
			state.toolParams = params
		}
    }  
})
export default store
